﻿/*******************************************************************************
 * AAEngine
 * Copyright (c) 2010 Mike Jarosch
 *
 * Original source PushButton Engine:
 * Copyright (C) 2009 PushButton Labs, LLC
 * For more information see http://www.pushbuttonengine.com
 *
 * This file is licensed under the terms of the MIT license, which is included
 * in the "MIT License.txt" file at the root directory of this SDK.
 ******************************************************************************/

namespace AAEngine.Engine.Core
{
    /// <summary>
    /// Minimal interface required by SimplePriorityQueue.
    /// </summary>
    /// <remarks>Items are prioritized so that the highest priority is returned first.</remarks>
    /// <seealso cref="SimplePriorityQueue{T}"/>
    public interface IPrioritizable
    {
        /// <summary>
        /// You only need to implement set if you want SimplePriorityHeap.Reprioritize
        /// to work. Otherwise it can simply throw an NotImplementedException.
        /// </summary>
        int Priority { get; set; }
    }
}
